file = open('test.txt', mode='r+', encoding='utf-8')

# 读取一行
data = file.readline()
print('读取到的内容', data)
file.close()
